    @model SqlCe4Mvc3Application1.Models.Common_BodyPartRecord

    <h2>Create</h2>

    @Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.")

    @using (Html.BeginForm()) 
    {
        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="Id">Id:</label>
                @Html.TextBox("Id", (int)Model.Id, new { disabled = false })
                @Html.ValidationMessage("Id", "*")                
            </p>
            <p>
                <label for="ContentItemRecordId">ContentItemRecordId:</label>
                <!-- @Html.TextBox("ContentItemRecordId", ((string)Convert.ToString(Model.ContentItemRecord_id)))  -->
                @Html.EditorFor(m => m.ContentItemRecord_id)
                @Html.ValidationMessage("ContentItemRecordId", "*")
            </p>
            <p>
                <label for="Text">Text:</label>
                @Html.TextArea("Text", (string)Model.Text)
                @Html.ValidationMessage("Text", "*")
            </p>
            <p>
                <label for="Format">Format:</label>
                @Html.TextBox("Format", (string)Model.Format)
                @Html.ValidationMessage("Format", "*")
            </p>            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>
    }

    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
